﻿@using Web.Models
@model RegisterViewModel
@{
    ViewBag.Title = "Регистрация на сайте";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="content_in">
<h2>Регистрация на сайте</h2>
        <p>
            @Html.ValidationSummary()
        </p>

    @using (Html.BeginForm())
    {
        <table id="account_info">
            <tr>
                <td>Логин</td>
                <td>@Html.TextBoxFor(x=>x.UserName) </td>
            </tr>
            <tr>
                <td>Пароль</td>
                <td>@Html.EditorFor(x=>x.Password) </td>
            </tr>
            <tr>
                <td>Подтвердите пароль</td>
                <td>@Html.EditorFor(x=>x.ConfirmPassword) </td>
            </tr>
            <tr>
                <td>E-mail</td>
                <td>@Html.TextBoxFor(x=>x.Email) </td>
            </tr>
            <tr>
                <td>Имя</td>
                <td>@Html.TextBoxFor(x=>x.FirstName) </td>
            </tr>
            <tr>
                <td>Фамилия</td>
                <td>@Html.TextBoxFor(x=>x.LastName)</td>
            </tr>
            <tr>
                <td>Отчество</td>
                <td>@Html.TextBoxFor(x=>x.MiddleName) </td>
            </tr>
        </table>
        <input type="submit" value="Завершить регистрацию"/>
    }
</div>

 